package org.spring.springboot.app.onlinepay.domain.vo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

public class OnlinePayVO {

    @ApiModelProperty(value = "用户ID",hidden = false)
    private String userId;
    @ApiModelProperty(value = "订单类型",hidden = false)
    @NotNull(message = "订单类型不能为空")
    private Integer type;
    @ApiModelProperty(value = "订单描述",hidden = false)
    @NotNull(message = "订单描述订单为空")
    private String content;
    @ApiModelProperty(value = "订单金额",hidden = false)
    @NotNull(message = "订单金额不能为空")
    private Double money;
    @ApiModelProperty(value = "json数据",hidden = false)
    private String jsondata;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getJsondata() {
        return jsondata;
    }

    public void setJsondata(String jsondata) {
        this.jsondata = jsondata;
    }
}
